package com.osgc.rf.unit.temp;

import com.inca.np.gui.control.DBTableModel;

public class BaseInfo {
	DBTableModel dbinfo;

	int row;

	public int getRow() {
		return row;
	}

	public void setRow(int row) {
		this.row = row;
	}

	public DBTableModel getDbinfo() {
		return dbinfo;
	}

	public void setDbinfo(DBTableModel dbinfo) {
		this.dbinfo = dbinfo;
	}

	public String get(String colname) {
		try {
			return dbinfo.getItemValue(row, colname);
		} catch (Exception e) {
		}
		return null;
	}
}
